package cn.kgc.springcloudfaqs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * InnoDB free: 8192 kB
 * </p>
 *
 * @author wulong
 * @since 2024-01-06
 */
public class Faqs implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 常见问题ID
     */
    @TableId(value = "fid", type = IdType.AUTO)
    private Integer fid;

    /**
     * 标题
     */
    private String title;

    /**
     * 创建时间
     */
    @TableField("createDate")
    private Date createDate;

    /**
     * 内容
     */
    private String content;

    /**
     * 类别编号
     */
    @TableField("classId")
    private Integer classId;


    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    @Override
    public String toString() {
        return "Faqs{" +
        "fid=" + fid +
        ", title=" + title +
        ", createDate=" + createDate +
        ", content=" + content +
        ", classId=" + classId +
        "}";
    }
}
